﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Admin/AdminMasterPage.master" AutoEventWireup="true" CodeFile="AddPlan.aspx.cs" Inherits="Admin_AddPlan" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
    <style type="text/css">
        .textbox
        {
            -moz-border-radius: 5px;
            -webkit-border-radius: 5px;
            border-radius: 5px;
            width: 250px;
            height: 30px;
            padding-left:5px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" Runat="Server">
    <div align="left">
    <div>
        <asp:Label ID="Label1" runat="server" Font-Bold="False" Font-Overline="False" 
            Font-Size="X-Large" Font-Strikeout="False" Font-Underline="False" 
            ForeColor="#3333CC" Text="Add New Plan"></asp:Label>
    </div>
    <div>
        <br /><b>Plan Information:</b>
        <table cellpadding="0" cellspacing="8" width="500" >
            <tr>
                <td width="100px">
                    Plan Name</td>
                <td>
                    <asp:TextBox ID="txtPlanName" runat="server" CssClass="textbox" Width="100px"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                        ControlToValidate="txtPlanName" ErrorMessage="(*)" ForeColor="Red"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td>
                    CPU</td>
                <td>
                    <asp:DropDownList ID="ddlCpu" runat="server" CssClass="textbox" 
                        DataTextField="Name" DataValueField="Id"
                        AutoPostBack="True" Width="100px">
                    </asp:DropDownList>
                </td>
            </tr>
            <tr>
                <td>
                    Ram</td>
                <td>
                    <asp:DropDownList ID="ddlMemory" runat="server" CssClass="textbox" 
                        DataTextField="Name" DataValueField="Id"
                        AutoPostBack="True" Width="100px">
                    </asp:DropDownList>
                </td>
            </tr>
            <tr>
                <td>
                    DistSpace</td>
                <td>
                    <asp:DropDownList ID="ddlDiskPlace" runat="server" CssClass="textbox" 
                        DataTextField="Name" DataValueField="Id"
                        AutoPostBack="True" Width="100px">
                    </asp:DropDownList>
                </td>
            </tr>
            <tr>
                <td>
                    BandWidth</td>
                <td>
                    <asp:TextBox ID="txtBandWidth" runat="server" CssClass="textbox" Width="100px"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td>
                    Price</td>
                <td>
                    <asp:TextBox ID="txtPrice" runat="server" CssClass="textbox" Width="100px"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
                        ControlToValidate="txtPrice" ErrorMessage="(*)" ForeColor="Red"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <td>
                    Specification</td>
                <td>
                    <asp:DropDownList ID="ddlSpecification" runat="server" CssClass="textbox" 
                        DataTextField="Name" DataValueField="Id" Width="100px">
                    </asp:DropDownList>
                </td>
            </tr>
            <tr>
                <td align="right">
                    &nbsp;</td>
                <td align="left">
                    <asp:Button ID="btnUpdate" runat="server" Text="Save" 
                        onclick="btUpdate_Click" />
                    &nbsp;or <a href="default.aspx">Cancel</a>
                </td>
            </tr>
            <tr>
                <td align="left" colspan="2">
                    <asp:Label ID="lblInfo" runat="server" ForeColor="Red">Successful</asp:Label>
                </td>
            </tr>
        </table>
            
    </div>
</div>
</asp:Content>

